﻿<%@ Control Language="C#" Inherits="Dimok.Web.UI.TableControlAjax" %>
<script runat="server">
	protected override void OnInit(EventArgs e) {
		ProfileID = "{2A9534FA-F56A-4268-8225-E5CED6A863B2}";
		WSEntityType = typeof(v_CustomerFile_Export_List);
		ClientType = "motobankcorp.Bridge";
		ScriptsToPreLoad.Add("~/Controls/Loan/motobankcorp.Loans.js");
		RowContextMenu = cmContextRow;
		base.OnInit(e);
	}
	protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors() {
		var descriptors = base.GetScriptDescriptors().Cast<ScriptControlDescriptor>().ToDictionary(d => d.Type);
		var descriptor = descriptors[ClientType];
		return descriptors.Values.ToArray();
	}
	protected override IEnumerable<ScriptReference> GetScriptReferences() {
		var refs = base.GetScriptReferences().ToList();
		refs.Add(new ScriptReference("Dimok.Web.UI.JS.JQuery.ajaxfileupload.js", "Dimok.Web.UI"));
		return refs;
	}
</script>
<fieldset id="Container" style="display:inline" runat="server"><legend>Bridge</legend>
<UI:RadGridExtender runat="server" />
<telerik:RadGrid runat="server" />
</fieldset>

<telerik:RadContextMenu ID="cmContextRow" Skin="Office2007" ExpandDelay="500" runat="server">
<Items>
	<!-- #include virtual="/Controls/_UI/Telerik/RowContextMenuIncludes/OpenLoan.aspx" -->
	<!-- #include virtual="/Controls/_UI/Telerik/RowContextMenuIncludes/Credit.aspx" -->
	<!-- #include virtual="/Controls/_UI/Telerik/RowContextMenuIncludes/CarPrice.aspx" -->
	<!-- #include virtual="/Controls/_UI/Telerik/RowContextMenuIncludes/Images.aspx" -->
	<!-- #include virtual="/Controls/_UI/Telerik/RowContextMenuIncludes/Attachment.aspx" -->
</Items>
</telerik:RadContextMenu>
